package com.woniu.smart.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author ：zhulongxing
 * @date ：Created in 2022/10/20 17:50
 * @description：
 * @modified By：
 * @version: $
 */
@Data
public class CarDTO {
    private Integer visitorId;

    private String visitorTel;

    private String carNum;

    private String carTypeName;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date accessIn;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date accessOut;

//每页显示几行
    private Integer pageSize;
//当前第几页
    private Integer pageNow;
}
